<!-- HTML header for doxygen 1.8.20-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
	<meta http-equiv="X-UA-Compatible" content="IE=9"/>
	<meta name="generator" content="Doxygen 1.9.4"/>
	<meta name="viewport" content="width=device-width, initial-scale=1"/>
	<title>Raspberry Pi Pico SDK: cyw43_spi.h File Reference</title>
	<!-- <link href="tabs.css" rel="stylesheet" type="text/css"/> -->
	<script type="text/javascript" src="jquery.js"></script>
	<script type="text/javascript" src="dynsections.js"></script>
	<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
	<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
    <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
	<link href="doxygen.css" rel="stylesheet" type="text/css" />
	<link href="normalise.css" rel="stylesheet" type="text/css"/>
<link href="main.css" rel="stylesheet" type="text/css"/>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
<body>
	<div class="navigation-mobile">
		<div class="logo--mobile">
			<a href="/"><img src="logo-mobile.svg" alt="Raspberry Pi"></a>
		</div>
		<div class="navigation-toggle">
			<span class="line-1"></span>
			<span class="line-2">
				<p>Menu Toggle</p>
			</span>
			<span class="line-3"></span>
		</div>
	</div>
	<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
		<div class="logo">
			<a href="index.html"> <img src="logo.svg" alt="Raspberry Pi"></a>
			<span style="display: inline-block; margin-top: 10px;">
				v2.0.0
			</span>
		</div>
		<div class="navigation-footer">
			<img src="logo-mobile.svg" alt="Raspberry Pi">
			<a href="https://www.raspberrypi.com/" target="_blank">By Raspberry Pi Ltd</a>
		</div>
<!-- 		<div class="search">
			<form>
				<input type="search" name="search" id="search" placeholder="Search">
				<input type="submit" value="Search">
			</form>
		</div> -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('cyw43__spi_8h.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">cyw43_spi.h File Reference</div></div>
</div><!--header-->
<div class="contents">

<p>CYW43 SPI API.  
<a href="#details">More...</a></p>

<p><a href="cyw43__spi_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a805e10412728f32d8585dd436b22cc99"><td class="memItemLeft" align="right" valign="top"><a id="a805e10412728f32d8585dd436b22cc99" name="a805e10412728f32d8585dd436b22cc99"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>TEST_PATTERN</b>&#160;&#160;&#160;0xFEEDBEADu</td></tr>
<tr class="separator:a805e10412728f32d8585dd436b22cc99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece2785d76576327bcabad668950187c"><td class="memItemLeft" align="right" valign="top"><a id="aece2785d76576327bcabad668950187c" name="aece2785d76576327bcabad668950187c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_BUS_CONTROL</b>&#160;&#160;&#160;((uint32_t)0x0000)</td></tr>
<tr class="separator:aece2785d76576327bcabad668950187c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aba69c9fa61e54d907cfb53b618eb636e"><td class="memItemLeft" align="right" valign="top"><a id="aba69c9fa61e54d907cfb53b618eb636e" name="aba69c9fa61e54d907cfb53b618eb636e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_RESPONSE_DELAY</b>&#160;&#160;&#160;((uint32_t)0x0001)</td></tr>
<tr class="separator:aba69c9fa61e54d907cfb53b618eb636e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a0887dcb176580680f14be883fcfc17"><td class="memItemLeft" align="right" valign="top"><a id="a3a0887dcb176580680f14be883fcfc17" name="a3a0887dcb176580680f14be883fcfc17"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_STATUS_ENABLE</b>&#160;&#160;&#160;((uint32_t)0x0002)</td></tr>
<tr class="separator:a3a0887dcb176580680f14be883fcfc17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61b574bd0eeb18f4ffdff5ed28f8793f"><td class="memItemLeft" align="right" valign="top"><a id="a61b574bd0eeb18f4ffdff5ed28f8793f" name="a61b574bd0eeb18f4ffdff5ed28f8793f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_RESET_BP</b>&#160;&#160;&#160;((uint32_t)0x0003)</td></tr>
<tr class="separator:a61b574bd0eeb18f4ffdff5ed28f8793f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d6a1dfad16d6632e9abba8c93d15b4a"><td class="memItemLeft" align="right" valign="top"><a id="a4d6a1dfad16d6632e9abba8c93d15b4a" name="a4d6a1dfad16d6632e9abba8c93d15b4a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_INTERRUPT_REGISTER</b>&#160;&#160;&#160;((uint32_t)0x0004)</td></tr>
<tr class="separator:a4d6a1dfad16d6632e9abba8c93d15b4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9143bd552c091f6d3ed9ff61ce494640"><td class="memItemLeft" align="right" valign="top"><a id="a9143bd552c091f6d3ed9ff61ce494640" name="a9143bd552c091f6d3ed9ff61ce494640"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_INTERRUPT_ENABLE_REGISTER</b>&#160;&#160;&#160;((uint32_t)0x0006)</td></tr>
<tr class="separator:a9143bd552c091f6d3ed9ff61ce494640"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a067a8bba4649b1f9ff77c3167a06fd10"><td class="memItemLeft" align="right" valign="top"><a id="a067a8bba4649b1f9ff77c3167a06fd10" name="a067a8bba4649b1f9ff77c3167a06fd10"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_STATUS_REGISTER</b>&#160;&#160;&#160;((uint32_t)0x0008)</td></tr>
<tr class="separator:a067a8bba4649b1f9ff77c3167a06fd10"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5719cdb21de8fe2cab5f765eab74fab0"><td class="memItemLeft" align="right" valign="top"><a id="a5719cdb21de8fe2cab5f765eab74fab0" name="a5719cdb21de8fe2cab5f765eab74fab0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_FUNCTION1_INFO</b>&#160;&#160;&#160;((uint32_t)0x000C)</td></tr>
<tr class="separator:a5719cdb21de8fe2cab5f765eab74fab0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0670b9b7e544a0baedcbfba47343abf4"><td class="memItemLeft" align="right" valign="top"><a id="a0670b9b7e544a0baedcbfba47343abf4" name="a0670b9b7e544a0baedcbfba47343abf4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_FUNCTION2_INFO</b>&#160;&#160;&#160;((uint32_t)0x000E)</td></tr>
<tr class="separator:a0670b9b7e544a0baedcbfba47343abf4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b0690caca60ceba22b9378026f460cc"><td class="memItemLeft" align="right" valign="top"><a id="a6b0690caca60ceba22b9378026f460cc" name="a6b0690caca60ceba22b9378026f460cc"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_FUNCTION3_INFO</b>&#160;&#160;&#160;((uint32_t)0x0010)</td></tr>
<tr class="separator:a6b0690caca60ceba22b9378026f460cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1cf0180427435e6831c317dd1e78b1c"><td class="memItemLeft" align="right" valign="top"><a id="aa1cf0180427435e6831c317dd1e78b1c" name="aa1cf0180427435e6831c317dd1e78b1c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_READ_TEST_REGISTER</b>&#160;&#160;&#160;((uint32_t)0x0014)</td></tr>
<tr class="separator:aa1cf0180427435e6831c317dd1e78b1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dd2c4e5f867712b6eeed2d1c351b7a9"><td class="memItemLeft" align="right" valign="top"><a id="a7dd2c4e5f867712b6eeed2d1c351b7a9" name="a7dd2c4e5f867712b6eeed2d1c351b7a9"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_RESP_DELAY_F0</b>&#160;&#160;&#160;((uint32_t)0x001c)</td></tr>
<tr class="separator:a7dd2c4e5f867712b6eeed2d1c351b7a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c9885fae4c270c62fa589f8768905a6"><td class="memItemLeft" align="right" valign="top"><a id="a2c9885fae4c270c62fa589f8768905a6" name="a2c9885fae4c270c62fa589f8768905a6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_RESP_DELAY_F1</b>&#160;&#160;&#160;((uint32_t)0x001d)</td></tr>
<tr class="separator:a2c9885fae4c270c62fa589f8768905a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09b9f5d70447bf6d4f2a5ffa6d5fd57f"><td class="memItemLeft" align="right" valign="top"><a id="a09b9f5d70447bf6d4f2a5ffa6d5fd57f" name="a09b9f5d70447bf6d4f2a5ffa6d5fd57f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_RESP_DELAY_F2</b>&#160;&#160;&#160;((uint32_t)0x001e)</td></tr>
<tr class="separator:a09b9f5d70447bf6d4f2a5ffa6d5fd57f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a717604bed9351e5902525902824e81e4"><td class="memItemLeft" align="right" valign="top"><a id="a717604bed9351e5902525902824e81e4" name="a717604bed9351e5902525902824e81e4"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_RESP_DELAY_F3</b>&#160;&#160;&#160;((uint32_t)0x001f)</td></tr>
<tr class="separator:a717604bed9351e5902525902824e81e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a162566533a6f5220e59e357a940f4da6"><td class="memItemLeft" align="right" valign="top"><a id="a162566533a6f5220e59e357a940f4da6" name="a162566533a6f5220e59e357a940f4da6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_FUNCTIONX_ENABLED</b>&#160;&#160;&#160;(1 &lt;&lt; 0)</td></tr>
<tr class="separator:a162566533a6f5220e59e357a940f4da6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef8ddf7db085eacf501974e645d63c35"><td class="memItemLeft" align="right" valign="top"><a id="aef8ddf7db085eacf501974e645d63c35" name="aef8ddf7db085eacf501974e645d63c35"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_FUNCTIONX_READY</b>&#160;&#160;&#160;(1 &lt;&lt; 1)</td></tr>
<tr class="separator:aef8ddf7db085eacf501974e645d63c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02aa5cd79704d9e0d98b04ee15e2bc3a"><td class="memItemLeft" align="right" valign="top"><a id="a02aa5cd79704d9e0d98b04ee15e2bc3a" name="a02aa5cd79704d9e0d98b04ee15e2bc3a"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>WORD_LENGTH_32</b>&#160;&#160;&#160;((uint32_t)0x01)</td></tr>
<tr class="separator:a02aa5cd79704d9e0d98b04ee15e2bc3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd87f90c4749efeedc5709b5e0ddf162"><td class="memItemLeft" align="right" valign="top"><a id="abd87f90c4749efeedc5709b5e0ddf162" name="abd87f90c4749efeedc5709b5e0ddf162"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>ENDIAN_BIG</b>&#160;&#160;&#160;((uint32_t)0x02)</td></tr>
<tr class="separator:abd87f90c4749efeedc5709b5e0ddf162"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafe387bd4ab48ee2995f6c5addac7e34"><td class="memItemLeft" align="right" valign="top"><a id="aafe387bd4ab48ee2995f6c5addac7e34" name="aafe387bd4ab48ee2995f6c5addac7e34"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CLOCK_PHASE</b>&#160;&#160;&#160;((uint32_t)0x04)</td></tr>
<tr class="separator:aafe387bd4ab48ee2995f6c5addac7e34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d67838c9bd4550813a7e8892cd5bc70"><td class="memItemLeft" align="right" valign="top"><a id="a5d67838c9bd4550813a7e8892cd5bc70" name="a5d67838c9bd4550813a7e8892cd5bc70"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CLOCK_POLARITY</b>&#160;&#160;&#160;((uint32_t)0x08)</td></tr>
<tr class="separator:a5d67838c9bd4550813a7e8892cd5bc70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26f175d07d53a0caa55f1ad28571c13e"><td class="memItemLeft" align="right" valign="top"><a id="a26f175d07d53a0caa55f1ad28571c13e" name="a26f175d07d53a0caa55f1ad28571c13e"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>HIGH_SPEED_MODE</b>&#160;&#160;&#160;((uint32_t)0x10)</td></tr>
<tr class="separator:a26f175d07d53a0caa55f1ad28571c13e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3892f443e2932d277db5e456463be80"><td class="memItemLeft" align="right" valign="top"><a id="ac3892f443e2932d277db5e456463be80" name="ac3892f443e2932d277db5e456463be80"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>INTERRUPT_POLARITY_HIGH</b>&#160;&#160;&#160;((uint32_t)0x20)</td></tr>
<tr class="separator:ac3892f443e2932d277db5e456463be80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af92d5fba005d26efc1641b4931ec190c"><td class="memItemLeft" align="right" valign="top"><a id="af92d5fba005d26efc1641b4931ec190c" name="af92d5fba005d26efc1641b4931ec190c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>WAKE_UP</b>&#160;&#160;&#160;((uint32_t)0x80)</td></tr>
<tr class="separator:af92d5fba005d26efc1641b4931ec190c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06deb8dcd2c7185ce2f61212d8bf199f"><td class="memItemLeft" align="right" valign="top"><a id="a06deb8dcd2c7185ce2f61212d8bf199f" name="a06deb8dcd2c7185ce2f61212d8bf199f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_ENABLE</b>&#160;&#160;&#160;((uint32_t)0x01)</td></tr>
<tr class="separator:a06deb8dcd2c7185ce2f61212d8bf199f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35118d6ccf9700ac474c5bcbc0e70fa1"><td class="memItemLeft" align="right" valign="top"><a id="a35118d6ccf9700ac474c5bcbc0e70fa1" name="a35118d6ccf9700ac474c5bcbc0e70fa1"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>INTR_WITH_STATUS</b>&#160;&#160;&#160;((uint32_t)0x02)</td></tr>
<tr class="separator:a35118d6ccf9700ac474c5bcbc0e70fa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13aec3c9af9d007d913170a51914ba82"><td class="memItemLeft" align="right" valign="top"><a id="a13aec3c9af9d007d913170a51914ba82" name="a13aec3c9af9d007d913170a51914ba82"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>RESP_DELAY_ALL</b>&#160;&#160;&#160;((uint32_t)0x04)</td></tr>
<tr class="separator:a13aec3c9af9d007d913170a51914ba82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c2b0d4a230b9e350d6fe0d50c15624d"><td class="memItemLeft" align="right" valign="top"><a id="a3c2b0d4a230b9e350d6fe0d50c15624d" name="a3c2b0d4a230b9e350d6fe0d50c15624d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DWORD_PKT_LEN_EN</b>&#160;&#160;&#160;((uint32_t)0x08)</td></tr>
<tr class="separator:a3c2b0d4a230b9e350d6fe0d50c15624d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ba12a243ecd09d5b9f62ed34eca46ad"><td class="memItemLeft" align="right" valign="top"><a id="a7ba12a243ecd09d5b9f62ed34eca46ad" name="a7ba12a243ecd09d5b9f62ed34eca46ad"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>CMD_ERR_CHK_EN</b>&#160;&#160;&#160;((uint32_t)0x20)</td></tr>
<tr class="separator:a7ba12a243ecd09d5b9f62ed34eca46ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebb9500db34f6c602de6401ca72a28d0"><td class="memItemLeft" align="right" valign="top"><a id="aebb9500db34f6c602de6401ca72a28d0" name="aebb9500db34f6c602de6401ca72a28d0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DATA_ERR_CHK_EN</b>&#160;&#160;&#160;((uint32_t)0x40)</td></tr>
<tr class="separator:aebb9500db34f6c602de6401ca72a28d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4846d65447cf0501449572abb9d1aa60"><td class="memItemLeft" align="right" valign="top"><a id="a4846d65447cf0501449572abb9d1aa60" name="a4846d65447cf0501449572abb9d1aa60"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DATA_UNAVAILABLE</b>&#160;&#160;&#160;((uint32_t)0x0001)</td></tr>
<tr class="separator:a4846d65447cf0501449572abb9d1aa60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dd9ad5f81955f2c3c21bc4a43d93aba"><td class="memItemLeft" align="right" valign="top"><a id="a5dd9ad5f81955f2c3c21bc4a43d93aba" name="a5dd9ad5f81955f2c3c21bc4a43d93aba"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F2_F3_FIFO_RD_UNDERFLOW</b>&#160;&#160;&#160;((uint32_t)0x0002)</td></tr>
<tr class="separator:a5dd9ad5f81955f2c3c21bc4a43d93aba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6fb657abbe25ce4842157caab3a3007"><td class="memItemLeft" align="right" valign="top"><a id="aa6fb657abbe25ce4842157caab3a3007" name="aa6fb657abbe25ce4842157caab3a3007"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F2_F3_FIFO_WR_OVERFLOW</b>&#160;&#160;&#160;((uint32_t)0x0004)</td></tr>
<tr class="separator:aa6fb657abbe25ce4842157caab3a3007"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a755c019733af60e8024e12a74b2f8650"><td class="memItemLeft" align="right" valign="top"><a id="a755c019733af60e8024e12a74b2f8650" name="a755c019733af60e8024e12a74b2f8650"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>COMMAND_ERROR</b>&#160;&#160;&#160;((uint32_t)0x0008)</td></tr>
<tr class="separator:a755c019733af60e8024e12a74b2f8650"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a199c7b5090bea170b3695fb3e35bf674"><td class="memItemLeft" align="right" valign="top"><a id="a199c7b5090bea170b3695fb3e35bf674" name="a199c7b5090bea170b3695fb3e35bf674"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>DATA_ERROR</b>&#160;&#160;&#160;((uint32_t)0x0010)</td></tr>
<tr class="separator:a199c7b5090bea170b3695fb3e35bf674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3168b757dac83c68ecf1580dfe70d125"><td class="memItemLeft" align="right" valign="top"><a id="a3168b757dac83c68ecf1580dfe70d125" name="a3168b757dac83c68ecf1580dfe70d125"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F2_PACKET_AVAILABLE</b>&#160;&#160;&#160;((uint32_t)0x0020)</td></tr>
<tr class="separator:a3168b757dac83c68ecf1580dfe70d125"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab51664db404666d74cb63acc87d3d6c0"><td class="memItemLeft" align="right" valign="top"><a id="ab51664db404666d74cb63acc87d3d6c0" name="ab51664db404666d74cb63acc87d3d6c0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F3_PACKET_AVAILABLE</b>&#160;&#160;&#160;((uint32_t)0x0040)</td></tr>
<tr class="separator:ab51664db404666d74cb63acc87d3d6c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a731334cfc6e3b312011520a5826ed6ba"><td class="memItemLeft" align="right" valign="top"><a id="a731334cfc6e3b312011520a5826ed6ba" name="a731334cfc6e3b312011520a5826ed6ba"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F1_OVERFLOW</b>&#160;&#160;&#160;((uint32_t)0x0080)</td></tr>
<tr class="separator:a731334cfc6e3b312011520a5826ed6ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a179422c1f8e5967a3d8d334b7ef2303d"><td class="memItemLeft" align="right" valign="top"><a id="a179422c1f8e5967a3d8d334b7ef2303d" name="a179422c1f8e5967a3d8d334b7ef2303d"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>GSPI_PACKET_AVAILABLE</b>&#160;&#160;&#160;((uint32_t)0x0100)</td></tr>
<tr class="separator:a179422c1f8e5967a3d8d334b7ef2303d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab995dcc2065eaf9bcd847e0504a9fb56"><td class="memItemLeft" align="right" valign="top"><a id="ab995dcc2065eaf9bcd847e0504a9fb56" name="ab995dcc2065eaf9bcd847e0504a9fb56"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MISC_INTR1</b>&#160;&#160;&#160;((uint32_t)0x0200)</td></tr>
<tr class="separator:ab995dcc2065eaf9bcd847e0504a9fb56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a845d9e5898aa650fe2aaa587fc89f584"><td class="memItemLeft" align="right" valign="top"><a id="a845d9e5898aa650fe2aaa587fc89f584" name="a845d9e5898aa650fe2aaa587fc89f584"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MISC_INTR2</b>&#160;&#160;&#160;((uint32_t)0x0400)</td></tr>
<tr class="separator:a845d9e5898aa650fe2aaa587fc89f584"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6610027bd687982172f6bf8c185d13f8"><td class="memItemLeft" align="right" valign="top"><a id="a6610027bd687982172f6bf8c185d13f8" name="a6610027bd687982172f6bf8c185d13f8"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MISC_INTR3</b>&#160;&#160;&#160;((uint32_t)0x0800)</td></tr>
<tr class="separator:a6610027bd687982172f6bf8c185d13f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54f6df5c2a1aa580057cd64b34b3aaae"><td class="memItemLeft" align="right" valign="top"><a id="a54f6df5c2a1aa580057cd64b34b3aaae" name="a54f6df5c2a1aa580057cd64b34b3aaae"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>MISC_INTR4</b>&#160;&#160;&#160;((uint32_t)0x1000)</td></tr>
<tr class="separator:a54f6df5c2a1aa580057cd64b34b3aaae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4ed7abc2f0823f55aef6c6875ef4920"><td class="memItemLeft" align="right" valign="top"><a id="ac4ed7abc2f0823f55aef6c6875ef4920" name="ac4ed7abc2f0823f55aef6c6875ef4920"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F1_INTR</b>&#160;&#160;&#160;((uint32_t)0x2000)</td></tr>
<tr class="separator:ac4ed7abc2f0823f55aef6c6875ef4920"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf7c006f423c045d0a1b077e277b9386"><td class="memItemLeft" align="right" valign="top"><a id="adf7c006f423c045d0a1b077e277b9386" name="adf7c006f423c045d0a1b077e277b9386"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F2_INTR</b>&#160;&#160;&#160;((uint32_t)0x4000)</td></tr>
<tr class="separator:adf7c006f423c045d0a1b077e277b9386"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9e364624cf12887554d696e8ab7b472"><td class="memItemLeft" align="right" valign="top"><a id="ab9e364624cf12887554d696e8ab7b472" name="ab9e364624cf12887554d696e8ab7b472"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>F3_INTR</b>&#160;&#160;&#160;((uint32_t)0x8000)</td></tr>
<tr class="separator:ab9e364624cf12887554d696e8ab7b472"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2fcc82a108ba94b0379941cf401bb970"><td class="memItemLeft" align="right" valign="top"><a id="a2fcc82a108ba94b0379941cf401bb970" name="a2fcc82a108ba94b0379941cf401bb970"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>BUS_OVERFLOW_UNDERFLOW</b>&#160;&#160;&#160;(F1_OVERFLOW | F2_F3_FIFO_RD_UNDERFLOW | F2_F3_FIFO_WR_OVERFLOW)</td></tr>
<tr class="separator:a2fcc82a108ba94b0379941cf401bb970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cdab152931930895ebdff2ba0f22cab"><td class="memItemLeft" align="right" valign="top"><a id="a4cdab152931930895ebdff2ba0f22cab" name="a4cdab152931930895ebdff2ba0f22cab"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_DATA_NOT_AVAILABLE</b>&#160;&#160;&#160;((uint32_t)0x00000001)</td></tr>
<tr class="separator:a4cdab152931930895ebdff2ba0f22cab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2be088dbaf51213b49191117f41d433"><td class="memItemLeft" align="right" valign="top"><a id="aa2be088dbaf51213b49191117f41d433" name="aa2be088dbaf51213b49191117f41d433"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_UNDERFLOW</b>&#160;&#160;&#160;((uint32_t)0x00000002)</td></tr>
<tr class="separator:aa2be088dbaf51213b49191117f41d433"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd4ae25c936b5d56351726a41a53aa23"><td class="memItemLeft" align="right" valign="top"><a id="abd4ae25c936b5d56351726a41a53aa23" name="abd4ae25c936b5d56351726a41a53aa23"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_OVERFLOW</b>&#160;&#160;&#160;((uint32_t)0x00000004)</td></tr>
<tr class="separator:abd4ae25c936b5d56351726a41a53aa23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90a26ad5a6b3f0ff5252e919f1169b5f"><td class="memItemLeft" align="right" valign="top"><a id="a90a26ad5a6b3f0ff5252e919f1169b5f" name="a90a26ad5a6b3f0ff5252e919f1169b5f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F2_INTR</b>&#160;&#160;&#160;((uint32_t)0x00000008)</td></tr>
<tr class="separator:a90a26ad5a6b3f0ff5252e919f1169b5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4852ac32161244f831567aeed8269800"><td class="memItemLeft" align="right" valign="top"><a id="a4852ac32161244f831567aeed8269800" name="a4852ac32161244f831567aeed8269800"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F3_INTR</b>&#160;&#160;&#160;((uint32_t)0x00000010)</td></tr>
<tr class="separator:a4852ac32161244f831567aeed8269800"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35c55f8368ce59fea5b5c8545a720045"><td class="memItemLeft" align="right" valign="top"><a id="a35c55f8368ce59fea5b5c8545a720045" name="a35c55f8368ce59fea5b5c8545a720045"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F2_RX_READY</b>&#160;&#160;&#160;((uint32_t)0x00000020)</td></tr>
<tr class="separator:a35c55f8368ce59fea5b5c8545a720045"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fb6c0af761f1d34be61d0f2d82a2fd0"><td class="memItemLeft" align="right" valign="top"><a id="a0fb6c0af761f1d34be61d0f2d82a2fd0" name="a0fb6c0af761f1d34be61d0f2d82a2fd0"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F3_RX_READY</b>&#160;&#160;&#160;((uint32_t)0x00000040)</td></tr>
<tr class="separator:a0fb6c0af761f1d34be61d0f2d82a2fd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d4d98b02e661ec023769e5f21fa3587"><td class="memItemLeft" align="right" valign="top"><a id="a0d4d98b02e661ec023769e5f21fa3587" name="a0d4d98b02e661ec023769e5f21fa3587"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_HOST_CMD_DATA_ERR</b>&#160;&#160;&#160;((uint32_t)0x00000080)</td></tr>
<tr class="separator:a0d4d98b02e661ec023769e5f21fa3587"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15b2f492b8e31b7d245c6be679b2bd00"><td class="memItemLeft" align="right" valign="top"><a id="a15b2f492b8e31b7d245c6be679b2bd00" name="a15b2f492b8e31b7d245c6be679b2bd00"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F2_PKT_AVAILABLE</b>&#160;&#160;&#160;((uint32_t)0x00000100)</td></tr>
<tr class="separator:a15b2f492b8e31b7d245c6be679b2bd00"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67ae98e16f3f0181b2f857c5716195fe"><td class="memItemLeft" align="right" valign="top"><a id="a67ae98e16f3f0181b2f857c5716195fe" name="a67ae98e16f3f0181b2f857c5716195fe"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F2_PKT_LEN_MASK</b>&#160;&#160;&#160;((uint32_t)0x000FFE00)</td></tr>
<tr class="separator:a67ae98e16f3f0181b2f857c5716195fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab50374685be585e21e2d4edef9e38442"><td class="memItemLeft" align="right" valign="top"><a id="ab50374685be585e21e2d4edef9e38442" name="ab50374685be585e21e2d4edef9e38442"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F2_PKT_LEN_SHIFT</b>&#160;&#160;&#160;((uint32_t)9)</td></tr>
<tr class="separator:ab50374685be585e21e2d4edef9e38442"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5cf754a124512078575d786467e6001"><td class="memItemLeft" align="right" valign="top"><a id="ae5cf754a124512078575d786467e6001" name="ae5cf754a124512078575d786467e6001"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F3_PKT_AVAILABLE</b>&#160;&#160;&#160;((uint32_t)0x00100000)</td></tr>
<tr class="separator:ae5cf754a124512078575d786467e6001"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1eb3e199f6568f4545884294ed2d5337"><td class="memItemLeft" align="right" valign="top"><a id="a1eb3e199f6568f4545884294ed2d5337" name="a1eb3e199f6568f4545884294ed2d5337"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F3_PKT_LEN_MASK</b>&#160;&#160;&#160;((uint32_t)0xFFE00000)</td></tr>
<tr class="separator:a1eb3e199f6568f4545884294ed2d5337"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac876c1255a3ae93b04196d7eaacfc812"><td class="memItemLeft" align="right" valign="top"><a id="ac876c1255a3ae93b04196d7eaacfc812" name="ac876c1255a3ae93b04196d7eaacfc812"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>STATUS_F3_PKT_LEN_SHIFT</b>&#160;&#160;&#160;((uint32_t)21)</td></tr>
<tr class="separator:ac876c1255a3ae93b04196d7eaacfc812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc46e53a80577bffdb91444d314fea8f"><td class="memItemLeft" align="right" valign="top"><a id="acc46e53a80577bffdb91444d314fea8f" name="acc46e53a80577bffdb91444d314fea8f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>SPI_FRAME_CONTROL</b>&#160;&#160;&#160;((uint32_t)0x1000D)</td></tr>
<tr class="separator:acc46e53a80577bffdb91444d314fea8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a46516efbbb60a675d8b5d3015ee8649d"><td class="memItemLeft" align="right" valign="top"><a id="a46516efbbb60a675d8b5d3015ee8649d" name="a46516efbbb60a675d8b5d3015ee8649d"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>read_reg_u32_swap</b> (<a class="el" href="struct__cyw43__int__t.html">cyw43_int_t</a> *self, uint32_t fn, uint32_t reg)</td></tr>
<tr class="separator:a46516efbbb60a675d8b5d3015ee8649d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af93b6ab6d6bab33d07e2888ab0ca49ce"><td class="memItemLeft" align="right" valign="top"><a id="af93b6ab6d6bab33d07e2888ab0ca49ce" name="af93b6ab6d6bab33d07e2888ab0ca49ce"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>write_reg_u32_swap</b> (<a class="el" href="struct__cyw43__int__t.html">cyw43_int_t</a> *self, uint32_t fn, uint32_t reg, uint32_t val)</td></tr>
<tr class="separator:af93b6ab6d6bab33d07e2888ab0ca49ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0c74218ccefba0be40f2684d67de267"><td class="memItemLeft" align="right" valign="top"><a id="ad0c74218ccefba0be40f2684d67de267" name="ad0c74218ccefba0be40f2684d67de267"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_spi_init</b> (<a class="el" href="struct__cyw43__int__t.html">cyw43_int_t</a> *self)</td></tr>
<tr class="separator:ad0c74218ccefba0be40f2684d67de267"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d591f17c229def2f4f91e1bdaddadbf"><td class="memItemLeft" align="right" valign="top"><a id="a0d591f17c229def2f4f91e1bdaddadbf" name="a0d591f17c229def2f4f91e1bdaddadbf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_spi_deinit</b> (<a class="el" href="struct__cyw43__int__t.html">cyw43_int_t</a> *self)</td></tr>
<tr class="separator:a0d591f17c229def2f4f91e1bdaddadbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1591d53fd8f14476afc3f503bc0f415"><td class="memItemLeft" align="right" valign="top"><a id="af1591d53fd8f14476afc3f503bc0f415" name="af1591d53fd8f14476afc3f503bc0f415"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_spi_gpio_setup</b> (void)</td></tr>
<tr class="separator:af1591d53fd8f14476afc3f503bc0f415"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affb4eb10bd83c8cfae6e409b34e32391"><td class="memItemLeft" align="right" valign="top"><a id="affb4eb10bd83c8cfae6e409b34e32391" name="affb4eb10bd83c8cfae6e409b34e32391"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_spi_reset</b> (void)</td></tr>
<tr class="separator:affb4eb10bd83c8cfae6e409b34e32391"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add0de487d41588437e5ee4855a0f3e61"><td class="memItemLeft" align="right" valign="top"><a id="add0de487d41588437e5ee4855a0f3e61" name="add0de487d41588437e5ee4855a0f3e61"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>cyw43_spi_transfer</b> (<a class="el" href="struct__cyw43__int__t.html">cyw43_int_t</a> *self, const uint8_t *tx, size_t tx_length, uint8_t *rx, size_t rx_length)</td></tr>
<tr class="separator:add0de487d41588437e5ee4855a0f3e61"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >CYW43 SPI API. </p>
</div></div><!-- contents -->
</div><!-- doc-content -->

	<script src="main.js"></script>
</body>
</html>